# 登录
login_data = [
    {
        "descript": "登录成功",
        "data_body": {"mobile": "13800000002", "password": "123456"},
        "expect_success": True,
        "expect_code": 10000,
        "expect_message": "成功",
        "exp_code": 200
    },
    {
        "descript": "登录失败-账号未注册",
        "data_body": {"mobile": "13800000099", "password": "123456"},
        "expect_success": False,
        "expect_code": 20001,
        "expect_message": "错误",
        "exp_code": 200
    },
    {
        "descript": "登录失败-密码错误",
        "data_body": {"mobile": "13800000002", "password": "123456789"},
        "expect_success": False,
        "expect_code": 20001,
        "expect_message": "错误",
        "exp_code": 200
    }
]

# 添加员工
staff_add_data = [
    {
        "descript": "添加成功",
        "data_body": {"username": "zhangsan",
                      "mobile": "13977779446",
                      "workNumber": "100",
                      "timeOfEntry": "2019-11-30",
                      "formOfEmployment": "1",
                      "departmentId": "1",
                      "correctionTime": "2019-11-30"},
        "expect_success": True,
        "expect_code": 10000,
        "expect_message": "成功",
        "exp_code": 200
    }
]

# 查询员工
Inquire_data = [
    {
        "descript": "查询成功",
        "expect_success": True,
        "expect_code": 10000,
        "expect_message": "成功",
        "exp_code": 200,
        "id": 1359
    }
]

# 修改员工
modify_data = [
    {
        "descript": "修改成功",
        "data_body": {"username": "小猪乔治", "mobile": "13481445052", "workNumber": "0071", "timeOfEntry": "2019-11-30",
                      "formOfEmployment": "1", "departmentId": "1", "correctionTime": "2019-11-30"},
        "expect_success": True,
        "expect_code": 10000,
        "expect_message": "成功",
        "exp_code": 200,
        "id": 1359
    },
    {
        "descript": "修改失败-系统繁忙",
        "data_body": {},
        "expect_success": False,
        "expect_code": 20003,
        "expect_message": "失败",
        "exp_code": 200,
        "id": 135
    }
]

# 删除员工
delete_data = [
    {
        "descript": "删除成功",
        "expect_success": True,
        "expect_code": 10000,
        "expect_message": "成功",
        "exp_code": 200,
        "id": 1359
    }
]
